@import "utils/_color";

.singer {
  &-navbar {
    width: inherit;
    overflow: hidden;

    ul {
      margin: 0 auto;
      width: 1170px;

      li {
        float: left;
        font-size: 28px;
        font-weight: bold;
        line-height: 30px;
        text-align: center;
        height: 40px;
        width: 150px;
        vertical-align: middle;
        color: $white;
        border: 5px solid transparent;
        border-radius: 9999px;
        background-color: rgba($white, 0.1);
        margin-left: 40px;

        li + li {
          margin-left: 8px;
        }

        &.fe-cache {
          color: $primary;
        }

        &.fe-focus {
          color: $primary;
          border-color: $primary;
        }
      }
    }
  }
}

.singer-wrapper {
  margin-top: 50px;
}

.singer-scroll-v {
  width: 100%;
  height: 100%;
}

.singer-scroll-h {
  width: 100%;
  height: 220px;
  margin-bottom: 20px;
}

.singer-tab {
  position: relative;
  float: left;
  width: 150px;
  height: 250px;
  transform: scale(1);

  & + & {
    margin-left: 10px;
  }

  &:first-child {
    margin-left: 5px;
  }

  &.fe-focus {
    .singer-tab-photo {
      transform: scale(1.1);
      border: 5px solid $primary;

      .photo-mask {
        position: absolute;
        z-index: 1;
        width: 100%;
        height: 100%;
        border-radius: 9999px;
        background-color: rgba($black, 0.5);
      }
    }
  }

  &-photo {
    position: absolute;
    overflow-x: hidden;
    overflow-y: hidden;
    width: 150px;
    height: 150px;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.3);

    &-img {
      position: absolute;
      width: 100%;
      height: 100%;
      border-radius: 9999px;
    }
  }

  &-inner {
    font-weight: bold;
    position: absolute;
    top: 55px;
    bottom: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    width: 100%;
    height: 32px;

    .marquee-truncate {
      font-size: 24px;
      position: absolute;
      bottom: 0;
      width: 100%;
      padding: 0 16px;
      text-align: center;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
  }

  &-outer {
    font-weight: bold;
    position: absolute;
    bottom: 48px;
    overflow-x: hidden;
    overflow-y: hidden;
    width: 100%;
    height: 32px;

    .marquee-truncate {
      font-size: 24px;
      position: absolute;
      bottom: 0;
      width: 100%;
      padding: 0 16px;
      text-align: center;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
  }
}
